Fix a crash with scaled cursors on Wayland
authorMatthias Clasen <mclasen@redhat.com>
Sun, 11 Aug 2013 18:53:14 +0000 (14:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 Aug 2013 19:38:25 +0000 (15:38 -0400)
commit87257342de456c936cf9dab63b9aaa9402b84e68
treef0c13e1c66de07e48fefe159eea7cd6730844fa9
parentdfbd0c2b98e9c2ef9113e5c525f8a8931ba4ebdb
Fix a crash with scaled cursors on Wayland

We need to initialize cursor->surface.scale to 1, since we
are dividing by it in _gdk_wayland_cursor_get_buffer.
gdk/wayland/gdkcursor-wayland.c